/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"178CF4E7-660A-4452-AA25-DDA4E53FE1F6"}
 */
function Cancelar(event) {
	databaseManager.rollbackEditedRecords()
	databaseManager.setAutoSave(true)
	globals.CerrarForm('crea_ej')
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"64D0954B-FDAA-4068-85F7-BF8FF5F84F18"}
 */
function Aceptar(event) {
	databaseManager.saveData()
	databaseManager.setAutoSave(true)
	globals.CerrarForm('crea_ej')
}
